]> dgit.raspbian.org Git - openjdk-25.git/commitdiff
s390x-opt
authorOpenJDK Team <openjdk-25@packages.debian.org>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Wed, 22 Jul 2026 00:23:02 +0000 (12:23 +1200)
Gbp-Pq: Name s390x-opt.diff

make/autoconf/flags-cflags.m4

index 9bea6b5062e80279428ee80a27f8045de25c9716..798470baee851b932d66265aa69af30c8ade3c1a 100644 (file)
@@ -754,6 +754,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
       fi
     elif test "x$FLAGS_CPU" = xs390x; then
       $1_CFLAGS_CPU="-mbackchain -march=z10"
+      if test "x$VENDOR_FLAGS_CPU" != x; then
+        $1_CFLAGS_CPU="-mbackchain $VENDOR_FLAGS_CPU"
+      fi
     fi
 
     if test "x$FLAGS_CPU_ARCH" != xarm &&  test "x$FLAGS_CPU_ARCH" != xppc; then